package com.ruoyi.school.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 校园管理 对象 t_ipass_school
 * 
 * @author 张庆
 * @date 2023-05-29
 */
public class TIpassSchool extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学校主键 */
    private Integer id;

    /** 学校名称 */
    @Excel(name = "学校名称")
    private String name;

    /** 学校地址 */
    @Excel(name = "学校地址")
    private String address;

    /** 私有服务器域名 */
    @Excel(name = "私有服务器域名")
    private String domainName;

    /** 私有服务ip */
    @Excel(name = "私有服务ip")
    private String ip;

    /** 学校描述 */
    @Excel(name = "学校描述")
    private String description;

    /** 学校状态 0启用 1禁用 */
    @Excel(name = "学校状态 0启用 1禁用")
    private Integer status;

    /** 是否删除 0未删除 1删除 */
    private Integer isDelete;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 修改时间 */
    private Date modifyDate;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setDomainName(String domainName) 
    {
        this.domainName = domainName;
    }

    public String getDomainName() 
    {
        return domainName;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setModifyDate(Date modifyDate) 
    {
        this.modifyDate = modifyDate;
    }

    public Date getModifyDate() 
    {
        return modifyDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("address", getAddress())
            .append("domainName", getDomainName())
            .append("ip", getIp())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("isDelete", getIsDelete())
            .append("createDate", getCreateDate())
            .append("modifyDate", getModifyDate())
            .toString();
    }
}
